# -*- coding: utf-8 -*-
# @Time    : 2025/8/10 10:51
# @Author  : FuKai ZHANG
# @File    : config.py
# @Description :加载配置文件

import yaml

def load_config(config_path='config.yaml'):
    """
    加载配置文件。
    """
    with open(config_path, 'r', encoding='utf-8') as f:
        return yaml.safe_load(f)